package cn.iocoder.yudao.module.worker.framework.web.config;

import cn.iocoder.yudao.framework.swagger.config.YudaoSwaggerAutoConfiguration;
import org.springdoc.core.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration(proxyBeanMethods = false)
public class WorkerWebConfiguration {

    /**
     * worker 模块的 API 分组
     */
    @Bean
    public GroupedOpenApi workerGroupedOpenApi() {
        return YudaoSwaggerAutoConfiguration.buildGroupedOpenApi("worker");
    }

}
